﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using SharedGenomics.Domain;

namespace SharedGenomics.TextMining
{
    public class PublicationMining
    {
        #region Private Members

        private StringTiling _minedTitle;
        private Publication _publication;

        #endregion

        #region Constructors

        public PublicationMining(Publication publication, StringTiling titleTiling)
        {
            this.Pub = publication;
            this.TitleMining = titleTiling;
        }

        #endregion

        #region Properties

        public StringTiling TitleMining
        {
            get { return this._minedTitle; }
            set
            {
                if (value == null)
                    throw new ArgumentNullException("TitleMining");

                this._minedTitle = value;
            }
        }

        public Publication Pub
        {
            get { return this._publication; }
            set
            {
                if (value == null)
                    throw new ArgumentNullException("Pub");

                this._publication = value;
            }
        }

        #endregion
    }
}
